.class public Lcom/waiqin365/lightapp/visit/a/a/au;
.super Lcom/waiqin365/lightapp/visit/a/d;


# instance fields
.field public b:Ljava/lang/String;

.field public c:Ljava/lang/String;

.field public d:Lcom/waiqin365/lightapp/visit/b/bf;


# direct methods
.method public constructor <init>()V
    .locals 1

    const/16 v0, 0x386

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/visit/a/d;-><init>(I)V

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/a/a/au;->b:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/a/a/au;->c:Ljava/lang/String;

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/a/a/au;->d:Lcom/waiqin365/lightapp/visit/b/bf;

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;)Z
    .locals 3

    :try_start_0
    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1, p1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string/jumbo v0, "code"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    const-string/jumbo v0, "code"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_0
    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/a/a/au;->b:Ljava/lang/String;

    const-string/jumbo v0, "message"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    const-string/jumbo v0, "message"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_1
    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/a/a/au;->c:Ljava/lang/String;

    new-instance v0, Lcom/waiqin365/lightapp/visit/b/bf;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/visit/b/bf;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/a/a/au;->d:Lcom/waiqin365/lightapp/visit/b/bf;

    const-string/jumbo v0, "data"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    const-string/jumbo v0, "data"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/a/a/au;->d:Lcom/waiqin365/lightapp/visit/b/bf;

    const-string/jumbo v0, "customers"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_4

    const-string/jumbo v0, "customers"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_2
    iput-object v0, v2, Lcom/waiqin365/lightapp/visit/b/bf;->g:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/a/a/au;->d:Lcom/waiqin365/lightapp/visit/b/bf;

    const-string/jumbo v0, "id"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_5

    const-string/jumbo v0, "id"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_3
    iput-object v0, v2, Lcom/waiqin365/lightapp/visit/b/bf;->c:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/a/a/au;->d:Lcom/waiqin365/lightapp/visit/b/bf;

    const-string/jumbo v0, "name"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_6

    const-string/jumbo v0, "name"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_4
    iput-object v0, v2, Lcom/waiqin365/lightapp/visit/b/bf;->d:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/a/a/au;->d:Lcom/waiqin365/lightapp/visit/b/bf;

    const-string/jumbo v0, "remarks"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_7

    const-string/jumbo v0, "remarks"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_5
    iput-object v0, v2, Lcom/waiqin365/lightapp/visit/b/bf;->e:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/a/a/au;->d:Lcom/waiqin365/lightapp/visit/b/bf;

    const-string/jumbo v0, "visitor"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_8

    const-string/jumbo v0, "visitor"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_6
    iput-object v0, v2, Lcom/waiqin365/lightapp/visit/b/bf;->a:Ljava/lang/String;

    const-string/jumbo v0, "status"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_9

    const-string/jumbo v0, "status"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    :goto_7
    const-string/jumbo v0, "modifyierId"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_a

    const-string/jumbo v0, "modifyierId"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    :goto_8
    const-string/jumbo v0, "creatorId"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_b

    const-string/jumbo v0, "creatorId"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    :goto_9
    const-string/jumbo v0, "createTime"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    :cond_0
    const-string/jumbo v0, "modifyTime"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_1
    const/4 v0, 0x1

    :goto_a
    return v0

    :cond_2
    const-string/jumbo v0, ""

    goto/16 :goto_0

    :cond_3
    const-string/jumbo v0, ""

    goto/16 :goto_1

    :cond_4
    const-string/jumbo v0, ""

    goto/16 :goto_2

    :cond_5
    const-string/jumbo v0, ""

    goto/16 :goto_3

    :cond_6
    const-string/jumbo v0, ""

    goto/16 :goto_4

    :cond_7
    const-string/jumbo v0, ""

    goto :goto_5

    :cond_8
    const-string/jumbo v0, ""

    goto :goto_6

    :cond_9
    const-string/jumbo v0, ""

    goto :goto_7

    :cond_a
    const-string/jumbo v0, ""

    goto :goto_8

    :cond_b
    const-string/jumbo v0, ""
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_9

    :catch_0
    move-exception v0

    const/4 v0, 0x0

    goto :goto_a
.end method
